﻿using System;
using System.Collections.Generic;
using System.Text;

namespace LdCms.Plugins.Map.Tencent.Models
{
    /// <summary>
    /// 
    /// </summary>
    public class GeocoderAddressResult
    {
        public int status { get; set; }
        public string message { get; set; }
        public GeocoderAddressResultResult result { get; set; }
    }
    public class GeocoderAddressResultLocation
    {
        public decimal lat { get; set; }
        public decimal lng { get; set; }
    }
    public class GeocoderAddressResultResult
    {
        public string title { get; set; }
        public GeocoderAddressResultLocation location { get; set; }
        public GeocoderAddressResultResultADInfo ad_info { get; set; }
        public GeocoderAddressResultResultAddressComponents address_components { get; set; }
        public decimal similarity { get; set; }
        public int deviation { get; set; }
        public int reliability { get; set; }
        public int level { get; set; }

    }
    public class GeocoderAddressResultResultADInfo
    {
        public string adcode { get; set; }
    }
    public class GeocoderAddressResultResultAddressComponents
    {
        public string province { get; set; }
        public string city { get; set; }
        public string district { get; set; }
        public string street { get; set; }
        public string street_number { get; set; }
    }

}
